//
//  Unit.h
//  DIsciplineSelectPartner
//
//  Created by 唐秦崴 on 15/3/16.
//  Copyright (c) 2015年 Lizzy. All rights reserved.
//

#ifndef DIsciplineSelectPartner_Unit_h
#define DIsciplineSelectPartner_Unit_h

#endif

@interface Unit : NSObject

@property ( nonatomic,strong ) NSString* objectId;
@property ( nonatomic,strong ) NSString* name;
@property ( nonatomic,strong ) NSMutableArray* subject;
@property ( nonatomic,strong ) NSString* university;
@property ( nonatomic,strong ) NSString* major;

- (instancetype)initWithBmobObject : (BmobObject*) bmobObject;

// 将选科要求转换成字符串输出
- (NSString*) subjectToString;

// 将major字符串类型转换为数组
-(NSArray*) majorsArray;

@end